package br.unesp.rc.rafaelt.business.to;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

//@XmlRootElement(name = "student")
public class StudentTO {
	private Long studentId;
	private String firstName;
	private String lastName;
	private Date birthday;

	public StudentTO() {
	}

	/**
	 * @param studentId
	 * @param firstName
	 * @param lastName
	 * @param birthday
	 */
	public StudentTO(Long studentId, String firstName, String lastName,
			Date birthday) {
		super();
		this.studentId = studentId;
		this.firstName = firstName;
		this.lastName = lastName;
		this.birthday = birthday;
	}

	/**
	 * @return the studentId
	 */
	public Long getStudentId() {
		return studentId;
	}

	/**
	 * @param studentId
	 *            the studentId to set
	 */
	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param firstName
	 *            the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName
	 *            the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the birthday
	 */
	public Date getBirthday() {
		return birthday;
	}

	/**
	 * @param birthday
	 *            the birthday to set
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
}